//package com.framwork.config;
//
//import com.framwork.ioc.DriverFactoryBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import java.sql.Driver;
//
///**
// * @author ysw
// * @create 2019-07-31 17:21
// * @descreption
// **/
//@Configuration
//public class BeansConfig {
//
//
//    @Bean
//    public Driver driver() throws Exception {
//        DriverFactoryBean driverFactoryBean = new DriverFactoryBean();
//        driverFactoryBean.setJdbcUrl("jdbc:mysql://rm-wz95d6vl6jwn21yrpao.mysql.rds.aliyuncs.com:3306");
//        return (Driver) driverFactoryBean.getObject();
//    }
//
//}